package tmt.usercenter.web.domain.enums;

import com.tmt.annotation.EnumDescriptor;
import com.tmt.annotation.parser.EnumAnnotationParser;

public enum ClientStatus {

    @EnumDescriptor(title="应用中", description = "")
    APPLYING,

    @EnumDescriptor(title="已核准", description = "第二代身份证")
    APPROVED,

    @EnumDescriptor(title="已拒绝", description = "第二代身份证")
    REJECTED;

    public static ClientStatus from(String title) {
        return EnumAnnotationParser.convertFromTitle(ClientStatus.class, title);
    }
}
